package com.lovo.service.impl;

import com.lovo.bean.UserBean;
import com.lovo.dao.IUserDao;
import com.lovo.dao.impl.UserDaoImpl;
import com.lovo.service.IUserService;

public class UserServiceImpl implements IUserService {
    private IUserDao userDao = new UserDaoImpl();
    @Override
    public UserBean login(String username, String password) {
        return userDao.login(username,password);
    }

    @Override
    public void updatePwd(int userId, String password) {
        userDao.updatePwd(userId,password);
    }
}
